/* 全局覆盖 ***************************************************************** */
.ant-segmented.ant-segmented {
  padding: 4px;
  background-color: theme('colors.sys.layer.a');

  .ant-segmented-group {
    gap: 4px;
  }

  .ant-segmented-item-label {
    min-height: 34px;
    line-height: 34px;
  }

  .ant-segmented-item {
    --uno: 'flex-1 text-sys-text-body';

    &.ant-segmented-item-selected {
      --uno: 'bg-sys-layer-d text-sys-text-head';
    }
  }

  .ant-segmented-item:hover:not(.ant-segmented-item-selected):not(.ant-segmented-item-disabled)::after {
    --uno: 'bg-sys-layer-d/60';
  }

  .ant-segmented-thumb {
    --uno: 'bg-sys-layer-d';
  }
}
